<template>
	<div>
		<Header></Header>
		<div class="formStyle">
			<div style="margin-top: -35px">
				<h3>{{$t('orderInfo.orderDetails')}}</h3>
			</div>
			<el-form :model="showForm" label-width="100px">
				<el-form-item :label="$t('orderInfo.productName')+'：'" prop="productName">
					<el-input v-model="showForm.productName" :disabled="true"></el-input>
				</el-form-item>
				<el-form-item :label="$t('orderInfo.orderNum')+'：'" prop="orderId">
					<el-input v-model="showForm.orderId" :disabled="true"></el-input>
				</el-form-item>
				<el-form-item :label="$t('orderInfo.dueTime')+'：'" prop="outDate">
					<el-input v-model="showForm.outDate" :disabled="true"></el-input>
				</el-form-item>
				<el-form-item :label="$t('orderInfo.createTime')+'：'" prop="createdDate">
					<el-input v-model="showForm.createdDate" :disabled="true"></el-input>
				</el-form-item>
				<el-form-item :label="$t('orderInfo.purchaser')+'：'" prop="author">
					<el-input v-model="showForm.realName" :disabled="true"></el-input>
				</el-form-item>
			</el-form>
			<div style="margin-top: 10px;margin-left: 220px;">
				<p>
					<el-button style="float: left;width: 100px;" @click="backHome">{{$t('standard.return')}}</el-button>
				</p>
			</div>
		</div>
	</div>
</template>

<script>
	import orderDetail from './orderDetail'

	export default orderDetail;
</script>

<style>
	.formStyle {
		position: absolute;
		width: 500px;
		height: 200px;

		left: 50%;
		margin-top: 120px;
		margin-left: -250px;
	}
</style>
